package org.NooLab.browserapp.components;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Vector;


import org.NooLab.browserapp.NnbResultSetIntf;
import org.NooLab.structures.nlp.NLPresultSetIntf;
import org.NooLab.structures.nlp.PoStagged;
import org.NooLab.structures.nlp.WordSets;



public class NnbResultSet implements NnbResultSetIntf, Serializable{

	private static final long serialVersionUID = -8661154844605898924L;

	// move it to the structures package
	// the result set should know whether it is the last of a series, else it needs the gui
	
	String guid = "" ; // uses the guid of the incoming task
	
	/** with regard to the current guid
	 *  a text could contain many sentences, each of the sentences produces
	 *  intermediate results, which could be delivered "in-process", such
	 *  the host process needs to know whether a particular package is the last one.
	 */
	boolean isLastResultSet = true; 
	
	String pageUrl = "" ;
	String pageContent = "" ;
	
	String originalText;
	boolean isSimple = false;
	

	
	// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

	public NnbResultSet(){
	
	}
	// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

	
	
	public String getOriginalText() {
		return originalText;
	}


	
	public void setOriginalText(String originalText) {
		this.originalText = originalText;
	}


	@Override
	public String getGuid() {
		return guid;
	}

	@Override
	public void setGuid(String guid) {
		this.guid = guid;
	}
	
	@Override
	public String getPageUrl() {
		return pageUrl;
	}


	@Override
	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}


	@Override
	public String getPageContent() {
		return pageContent;
	}



	public void setPageContent(String pageContent) {
		this.pageContent = pageContent;
	}



	public boolean isSimple() {
		return isSimple;
	}



	public void setSimple(boolean isSimple) {
		this.isSimple = isSimple;
	}



	public boolean isLastResultSet() {
		return isLastResultSet;
	}



	public void setLastResultSet(boolean isLastResultSet) {
		this.isLastResultSet = isLastResultSet;
	}


	
	
	
}
